package com.mjh.zhujianju.service.agency;

import com.livew.framework.base.service.BaseService;
import com.livew.framework.exception.XTBusinessException;
import com.livew.framework.page.PagedResult;
import com.mjh.zhujianju.model.agency.RemoveEO;
import com.mjh.zhujianju.vo.agency.RemoveVO;
import com.mjh.zhujianju.vo.agency.RemoveVO;

import java.util.List;

/**
 * @author liuyang
 * @Description: 拆迁
 * @date 2018/8/12 10:34
 */
public interface RemoveService extends BaseService<RemoveEO> {

    /**
     * wx-查询所有的拆迁户信息
     * @return
     */
    List<RemoveVO> queryRemoveList();

    /**
     * 查询拆迁户详情
     * @return
     */
    RemoveVO queryRemoveInfo(Long id);
    
    /**
     * 保存
     * @param vo
     * @throws XTBusinessException
     */
	void saveInfo(RemoveVO vo)throws XTBusinessException;

	/**
	 * 更新
	 * @param vo
	 * @throws XTBusinessException
	 */
	void updateInfo(RemoveVO vo)throws XTBusinessException;

	/**
	 * 分页查询
	 * @param eo
	 * @return
	 */
	PagedResult<RemoveVO> getVOPage(RemoveVO eo);
	

	RemoveVO getInfo(Long id)throws XTBusinessException;
}
